//list.js
//获取应用实例
const app = getApp()
Page({
  data: {
    navLeftItems: [{ type: '电子产品1', id: 1 }, { type: '电子产品2', id: 2 }, { type: '电子产品3', id: 3 }, { type: '电子产品4', id: 4 }],
    curNav: 1
  },

  onLoad: function () {
    console.log('dd');
  },
  getUserInfo: function (e) {

  },

  onLaunch: function (options) {
    console.log('// Do something initial when 2.');
  },
  onShow: function (options) {
    console.log('// Do something initial whed3.');
  },
  onHide: function () {
    console.log('// Do something initial4.');
  },
  onError: function (msg) {
    console.log(msg)
  },


})
